//
//  UICGDirectionsRequest.h
//  MapDirectionsV3
//
//  Created by Kishikawa Katsumi on 09/12/20.
//  Copyright 2009 Kishikawa Katsumi. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum UICGDirectionsTravelMode {
	UICGDirectionsTravelModeDriving, // DRIVING
	UICGDirectionsTravelModeWalking  // WALKING
} UICGDirectionsTravelMode;

typedef enum UICGDirectionsUnitSystem {
	UICGDirectionsUnitSystemImperial, // IMPERIAL
	UICGDirectionsUnitSystemMetric    // METRIC
} UICGDirectionsUnitSystem;

@interface UICGDirectionsRequest : NSObject {
    id origin;
    id destination;
    NSArray *waypoints;
    BOOL provideTripAlternatives;
    NSString *region;
    UICGDirectionsTravelMode travelMode;
    UICGDirectionsUnitSystem unitSystem;
}

@property (nonatomic, retain) id origin;
@property (nonatomic, retain) id destination;
@property (nonatomic, retain) NSArray *waypoints;
@property (nonatomic) BOOL provideTripAlternatives;
@property (nonatomic, retain) NSString *region;
@property (nonatomic) UICGDirectionsTravelMode travelMode;
@property (nonatomic) UICGDirectionsUnitSystem unitSystem;

- (id)initWithStartPoint:(id)start endPoint:(id)end;
- (NSString *)JSONRepresentation;

@end
